import random

from constant import SCREEN_X, SCREEN_Y, BOARD_SIZE, INIT_OFFSET


class Floor:
    def __init__(self, pygame):
        self.rect = pygame.Rect(-BOARD_SIZE * INIT_OFFSET, 0, BOARD_SIZE, BOARD_SIZE)
        self.floor_x=[]
        self.floor_y=[]

        for pos in range(BOARD_SIZE, SCREEN_X - BOARD_SIZE, BOARD_SIZE):
            self.floor_x.append(pos)

        for pos in range(BOARD_SIZE, SCREEN_Y - BOARD_SIZE, BOARD_SIZE):
            self.floor_y.append(pos)

